package com.bestcem.xm.ticket.service.dto.mq;

import cn.hutool.core.annotation.Alias;
import com.bestcem.xm.ticket.entity.mongo.Notification;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * mq收发发送邮件短信消息
 *
 * @author gy.liu
 * @version 1.0
 * @date 2021/9/9 11:01
 **/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class TicketSendDTO {

    /**
     * 发送类型
     */
    @Alias(value = "type")
    private Integer type;

    /**
     * 发送数据
     */
    @Alias(value = "data")
    private List<Notification> data;
}
